home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
programmierung
/
proasm
/
rexx
/
dopus_341
/
addasxresidents.dopus
< prev
next >
Wrap
Text File
|
1996-04-29
|
641b
|
30 lines
/* Add selected files as Residents to ASX */
/* for Directory Opus, using ASX */
/* 06.07.93 by Daniel Weber */
ADDRESS 'dopus_rexx'
OPTIONS RESULTS
status 3 /* get #of active window */
win = result
status 13 win /* get actual selected drive */
path = result
getselectedfiles '+' /* get selected files from DOpus */
IF RC ~= 0 THEN EXIT(0)
files = result
DO WHILE files ~=''
PARSE VAR files txtfile '+' files
ADDRESS 'dopus_rexx' /* show file name */
toptext 'AddResident 'path''txtfile
ADDRESS 'asx_rexx'
AddResident path''txtfile /* add selected files as Residents */
END
EXIT(0)